package org.example.petitionplatformsystem.dao;

import org.example.petitionplatformsystem.dao.model.Authentication;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository

public interface AuthenticationRepository extends JpaRepository<Authentication, Long> {
    public Authentication findByUserId(Long userId);
}
